// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Rectangle {
    id: _root

    property variant list: null

    width: (list.currentItem === null) ? 0 : list.currentItem.width
    height: (list.currentItem === null) ? 0 : list.currentItem.height
//            color: "#ff6666"
    radius: 5
    //2582e1
    //0320ff
    //000000
    //135393
    gradient: Gradient {
        GradientStop {id: _gradBg1;  position: 0.0;  color: "#0320bb"}
        GradientStop {id: _gradBg2;  position: 0.5;  color: "#0320bb"}
        GradientStop {id: _gradBg3;  position: 1.0;  color: "#131393"}
    }
    Rectangle {
        height: parent.height / 2
        anchors.top: parent.top
        anchors.left: parent.left
        anchors.right: parent.right
        anchors.margins: 1
        radius: parent.radius
        gradient: Gradient {
            GradientStop {id:_grad1;  position: 0.0;  color: "#44999999";}
            GradientStop {id:_grad2;  position: 1.0;  color: "#11999999";}
        }
        smooth: true
    }
}
